package DesignPrinciple.InterSegre.CorrectInter;

import Utils.Util;

public class FWDoor implements Waterproof, Fireproof {
    @Override
    public void fireProof() {
        Util.inner(System.out::println, "防火作用");
    }

    @Override
    public void waterproof() {
        Util.inner(System.out::println, "防洪作用");
    }
}
